package com.zhsource.article.service;


import com.github.pagehelper.PageInfo;
import com.zhsource.article.domain.ArticleType;
import com.zhsource.article.query.ArticleQuery;
import com.zhsource.article.query.ArticleTypeQuery;
import com.zhsource.tourist.vo.ArticleTypeCountVo;

import java.util.List;

/**
 * <p>@ClassName：IArticleTypeService
 * <p>@Date 2023/10/17  23:28
 *
 * @Author zzl
 **/
public interface IArticleTypeService {
    List<ArticleType> list();

    ArticleType selectById(Long id);

    PageInfo<ArticleType> page(ArticleTypeQuery articleTypeQuery);

    void update(ArticleType articleType);

    void insert(ArticleType articleType);

    void delete(Long id);

    void batchDel(List<Long> ids);

    List<ArticleType> tree();

    List<ArticleTypeCountVo> getArticleTypeCount();
}
